#ifndef __MYICM20602_H
#define __MYICM20602_H

void ICM20602ToTFT(void);
void InitICM20602(void);
void GetSpiICM20602(void);
float gy_angle(void);
float GetAccelAngle(void);
float Get_gyroO(void);
float Kalman_Filter(float Accel,float Gyro);
void Close_average_icm_gyro(void);
void average_icm_gyro(void);

extern int16 average_icm_gyro_x;
extern int16 average_icm_gyro_y;
extern int16 average_icm_gyro_z;

#endif
